home *** CD-ROM | disk | FTP | other *** search
- id featuredTours;
- id country;
- id tour;
-
- - awake
- {
- // Typically, this data would come from a database. But here
- // we're creating a statically defined array containing the tour information.
-
- featuredTours = @(
- {"name" = "Ireland";
- "tours" = ("Irish Backroads", "Famous Pubs");},
- {"name" = "Argentina";
- "tours" = ("Buenos Aires and Environs", "The Pampas");},
- {"name" = "Japan";
- "tours" = ("Tokyo", "Osaka", "Saporo");
- }
- );
- return self;
- }
-
- - displayInfoForTour
- {
- id message;
-
- message = [NSString stringWithFormat:@"The info for the %@ tour goes here.", tour];
- [WOApp setResultMessage:message];
- return [WOApp pageWithName:@"Page2"];
- }
-
-